package com.erp.bean;

/**
 * @author lyb
 * 创建供应商实体类
 */
public class Supplier {
    /**
     * 供应商编号
     */
    private int supid;
    /**
     * 供应商姓名
     *
     */
    private String supname;
    /**
     * 供应商电话
     */
    private String tel;
    /**
     * 供应商地址
     */
    private String address;
    /**
     * 供应商邮箱
     */
    private String email;


    @Override
    public String toString() {
        return "Supplier{" +
                "supid=" + supid +
                ", supname='" + supname + '\'' +
                ", tel='" + tel + '\'' +
                ", address='" + address + '\'' +
                ", email='" + email + '\'' +
                '}';
    }



    public Supplier() {
    }

    public Supplier(String supname, String tel, String address, String email) {
        this.supname = supname;
        this.tel = tel;
        this.address = address;
        this.email = email;
    }

    public Supplier(int supid, String supname, String tel, String address, String email) {
        this.supid = supid;

        this.supname = supname;
        this.tel = tel;
        this.address = address;
        this.email = email;

    }


    public int getSupid() {
        return supid;
    }

    public void setSupid(int supid) {
        this.supid = supid;
    }

    public String getSupname() {
        return supname;
    }

    public void setSupname(String supname) {
        this.supname = supname;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
}
